<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    .c1 {
      float: left;
      width: 100px;
      height: 100px;
      background-color: aquamarine;
      /* clear: both; */
    }
    /* c1和color: 2px;触发bfc，实现两栏自适应 */
    .c2 {
      background-color: blanchedalmond;
      overflow: hidden;
    }
    .c3 {
      clear: both;
    }
  </style>
  <body>
    <div class="c1">11</div>
    <!-- <a href="">33</a> -->
    <div class="c2">22</div>
    <div class="c3">22</div>
  </body>
</html>
